#!/usr/bin/env python
# coding: utf-8
from config.settings import session
import web
from config import util

class AuthBase:
    def __init__(self):
        if session.get('login_user_id')==0:
            raise web.seeother('/login')
